{% extends 'base.html' %}
{% block pagewra %}
    <!--page-wrapper-->
    <div class="page-wrapper">
        <!--page-content-wrapper-->
        <div class="page-content-wrapper">
            <div class="page-content">
                <div class="user-profile-page">
                    <div class="card radius-15">

                        <div class="card-body">
                            <div class="card-title">
                                <h4 class="mb-0">搜索数据</h4>
                            </div>
                            <hr/>
                            <div class="table-responsive">
                                <table id="example" class="table table-striped table-bordered" style="width:100%">
                                    <thead>
                                    <tr>
                                        <th>年龄</th>
                                        <th>性别</th>
                                        <th>多尿</th>
                                        <th>多饮</th>
                                        <th>突然体重减轻</th>
                                        <th>虚弱</th>
                                        <th>多食</th>
                                        <th>生殖器鹅口疮</th>
                                        <th>视力模糊</th>
                                        <th>瘙痒</th>
                                        <th>易怒</th>
                                        <th>伤口愈合延迟</th>
                                        <th>部分麻痹</th>
                                        <th>肌肉僵硬</th>
                                        <th>脱发</th>
                                        <th>肥胖</th>
                                        <th>糖尿病状态</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    {% for i in data %}
                                        <tr>
                                            <th>{{ i.Age }}</th>
                                            <th>{{ i.Gender }}</th>
                                            <th>{{ i.Polyuria }}</th>
                                            <th>{{ i.Polydipsia }}</th>
                                            <th>{{ i.sudden_weight_loss }}</th>
                                            <th>{{ i.weakness }}</th>
                                            <th>{{ i.Polyphagia }}</th>
                                            <th>{{ i.Genital_thrush }}</th>
                                            <th>{{ i.visual_blurring }}</th>
                                            <th>{{ i.Itching }}</th>
                                            <th>{{ i.Irritability }}</th>
                                            <th>{{ i.delayed_healing }}</th>
                                            <th>{{ i.partial_paresis }}</th>
                                            <th>{{ i.muscle_stiffness }}</th>
                                            <th>{{ i.Alopecia }}</th>
                                            <th>{{ i.Obesity }}</th>
                                            <th>{{ i.class }}</th>
                                        </tr>
                                    {% endfor %}
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script src="../static/assets/js/jquery.min.js"></script>
    <script src="../static/from/jquery.form.js"></script>
{% endblock %}